﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace STMS.WSTMSystem.UControls
{
    public partial class UIndicatorLight : UserControl
    {
        public UIndicatorLight()
        {
            InitializeComponent();
        }

        private Color circleColor = Color.FromArgb(137, 201, 151);
        public Color CircleColor
        {
            get { return this.circleColor; }
            set
            {
                circleColor = value;
                uCircle1.ForeColor = circleColor;
                uCircle1.BorderColor = circleColor;
            }
        }

        private string lightText = "低温";
        public string LightText
        {
            get { return this.lightText; }
            set
            {
                lightText = value;
                label1.Text = lightText;
            }
        }
    }
}
